﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CIS470MetricsTracking
{
    public class User
    {

        private int user_access_level;
        private string first_name;
        private string last_name;
        private string user_email;
        private string company_phone;
        private string password;
        private string reg_date;
		private int userId;
        private int positionId;
         
		public User()
		{

		}
        public User(string first_name, string last_name, string email, string password, string reg_date,
			int access_level, string company_phone)
        {
            this.first_name = first_name;
            this.last_name = last_name;
            this.user_email = email;
            this.password = password;
            this.reg_date = reg_date;
			this.company_phone = company_phone;
			this.user_access_level = access_level;
        }

		public User(string first_name, string last_name, string email, string password, string reg_date,
			int access_level, string company_phone, int userId)
		{
			this.first_name = first_name;
			this.last_name = last_name;
			this.user_email = email;
			this.password = password;
			this.reg_date = reg_date;
			this.company_phone = company_phone;
			this.user_access_level = access_level;
			this.userId = userId;
		}

        public User(int userId, string first_name, string last_name, string email, string company_phone, string reg_date, int positionId,
            string password, int access_level)
        {
            this.first_name = first_name;
            this.last_name = last_name;
            this.user_email = email;
            this.password = password;
            this.reg_date = reg_date;
            this.company_phone = company_phone;
            this.user_access_level = access_level;
            this.userId = userId;
        }

		public int getUserId()
		{
			return userId;
		}
		public int getAccessLevel()
		{
			return user_access_level;
		}

		public void setAccessLevel(int accessLevel)
		{
			user_access_level = accessLevel;
		}

		public string getFirstName()
		{
			return first_name;
		}

		public void setFirstName(string firstName)
		{
			first_name = firstName;
		}

		public string getLastName()
		{
			return last_name;
		}

		public void setLastName(string lastName)
		{
			last_name = lastName;
		}

		public string getEmail()
		{
			return user_email;
		}

		public void setEmail(string email)
		{
			user_email = email;
		}

		public string getCompanyPhone()
		{
			return company_phone;
		}

		public void setCompanyPhone(string phone)
		{
			company_phone = phone;
		}

        public string getPassword()
        {
            return password;
        }

		public void setPassword(string password)
		{
			this.password = password;
		}

        public string getRegDate()
        {
            return reg_date;
        }
    }
}
